-- GENERATED SPELL FOR [Fiend of Water] --


function spell0_30044(pUnit, Event) --@Orb of Water,n/a--
pUnit:FullCastSpellOnTarget(55888,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30044', 2000, 1)
end

function Sorts_30044(pUnit, Event)
local choix_sorts_30044 = math.random(0, 0)
if choix_sorts_30044 == 0 then
pUnit:RegisterEvent('spell0_30044', 1, 1)
end
end

function mob30044_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30044', math.random(1500, 3000), 1)
end

function mob30044_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30044_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30044_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30044, 1, 'mob30044_Action')
RegisterUnitEvent(30044, 2, 'mob30044_Leave')
RegisterUnitEvent(30044, 3, 'mob30044_Kill')
RegisterUnitEvent(30044, 4, 'mob30044_Die')
